package com.ts.main.mini.vo;

import com.wechat.pay.java.service.payments.model.PromotionDetail;
import com.wechat.pay.java.service.payments.model.Transaction;
import com.wechat.pay.java.service.payments.model.TransactionAmount;
import com.wechat.pay.java.service.payments.model.TransactionPayer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author:lk
 * @Date: 2025/5/29  02:45
 */
@Data
public class TransactionVo {

    @Schema(description = "支付数据")
    private TransactionAmount amount;
    @Schema(description = "小程序id")
    private String appid;
    @Schema(description = "")
    private String attach;
    @Schema(description = "")
    private String bankType;
    @Schema(description = "商户id")
    private String mchid;
    @Schema(description = "微信订单ID")
    private String outTradeNo;
    @Schema(description = "付款者信息")
    private TransactionPayer payer;
    @Schema(description = "")
    private List<PromotionDetail> promotionDetail;
    @Schema(description = "")
    private String successTime;
    @Schema(description = "")
    private Transaction.TradeStateEnum tradeState;
    @Schema(description = "")
    private String tradeStateDesc;
    @Schema(description = "")
    private Transaction.TradeTypeEnum tradeType;
    @Schema(description = "")
    private String transactionId;

}
